#pragma OPENCL EXTENSION cl_ext_atomic_counters_32:enable
__kernel void atomic_counter_test(__global uint *o,counter32_t c)
{
	uint idx=get_global_id(0);
	o[idx]=atomic_inc(c);
}
 
